#include <GL/glew.h>
#include <GL/glfw.h>
#include "VertexList.hpp"
#include "TriangleList.hpp"
#include "ObjReader.hpp"


#ifndef MESH
#define MESH
class Mesh : public ObjReader
{
	private:
	
	protected:
	int mode;
	
	VertexList vList;
	TriangleList tList;
	GLuint vertexBufferObject, indexBufferObject, normalsBufferObject;
	
	
	
	public:
	static const int OBJ_MODE, MANUAL_MODE;
	bool LoadObj(const char* filename);
	Mesh(const int mode){if(mode == OBJ_MODE || mode == MANUAL_MODE) this -> mode = mode;}
	Mesh(){}
};
#endif
